package com.twl.app.base.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Version;

/**
 * 社保调整
 * @author Val
 *
 */
@Entity
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
@Table(name = "SAL_SOCIAL_ADJUST")
@SequenceGenerator(name = "instance_sequence", sequenceName = "SEQ_SAL_SOCIAL_ADJUST", allocationSize = 1)
public class SalSocialAdjust {
	private Integer id; //主键
	private String period; //期间
	private String staffint; //工号
	private String idNumber; //身份证号
	private String name; //姓名
	private String accumulUnitAdjust; //公积金单位调整
	private String nursingUnitAdjust; //养老单位调整
	private String healthUnitAdjust; //医疗单位调整
	private String unempUnitAdjust; //失业单位调整
	private String firmsUnitAdjust; //工伤单位调整
	private String fertilityUnitAdjust; //生育单位调整
	private String disabledAndOther; //残保及其他
	private String accumulPerAdjust; //公积金个人调整
	private String nursingPerAdjust; //养老个人调整
	private String healthPerAdjust; //医疗个人调整
	private String unempPerAdjust; //失业个人调整
	private String isDelete; //是否删除
	private Integer version; //版本
	private String creator; //创建人
	private Date createTime; //创建时间
	private String modifier; //修改人
	private Date modifyTime; //修改时间
	private String remark; //备注
	
	private String desKey;// 密钥

	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "instance_sequence")
	@Column(name = "ID")
	public Integer getId(){
		 return this.id;
	}
	public void setId(Integer id){
		this.id=id;
	}
	@Column(name = "PERIOD")
	public String getPeriod(){
		 return this.period;
	}
	public void setPeriod(String period){
		this.period=period;
	}
	@Column(name = "STAFFINT")
	public String getStaffint(){
		 return this.staffint;
	}
	public void setStaffint(String staffint){
		this.staffint=staffint;
	}
	@Column(name = "ID_NUMBER")
	public String getIdNumber(){
		 return this.idNumber;
	}
	public void setIdNumber(String idNumber){
		this.idNumber=idNumber;
	}
	@Column(name = "NAME")
	public String getName(){
		 return this.name;
	}
	public void setName(String name){
		this.name=name;
	}
	@Column(name = "ACCUMUL_UNIT_ADJUST")
	public String getAccumulUnitAdjust(){
		 return this.accumulUnitAdjust;
	}
	public void setAccumulUnitAdjust(String accumulUnitAdjust){
		this.accumulUnitAdjust=accumulUnitAdjust;
	}
	@Column(name = "NURSING_UNIT_ADJUST")
	public String getNursingUnitAdjust(){
		 return this.nursingUnitAdjust;
	}
	public void setNursingUnitAdjust(String nursingUnitAdjust){
		this.nursingUnitAdjust=nursingUnitAdjust;
	}
	@Column(name = "HEALTH_UNIT_ADJUST")
	public String getHealthUnitAdjust(){
		 return this.healthUnitAdjust;
	}
	public void setHealthUnitAdjust(String healthUnitAdjust){
		this.healthUnitAdjust=healthUnitAdjust;
	}
	@Column(name = "UNEMP_UNIT_ADJUST")
	public String getUnempUnitAdjust(){
		 return this.unempUnitAdjust;
	}
	public void setUnempUnitAdjust(String unempUnitAdjust){
		this.unempUnitAdjust=unempUnitAdjust;
	}
	@Column(name = "FIRMS_UNIT_ADJUST")
	public String getFirmsUnitAdjust(){
		 return this.firmsUnitAdjust;
	}
	public void setFirmsUnitAdjust(String firmsUnitAdjust){
		this.firmsUnitAdjust=firmsUnitAdjust;
	}
	@Column(name = "FERTILITY_UNIT_ADJUST")
	public String getFertilityUnitAdjust(){
		 return this.fertilityUnitAdjust;
	}
	public void setFertilityUnitAdjust(String fertilityUnitAdjust){
		this.fertilityUnitAdjust=fertilityUnitAdjust;
	}
	@Column(name = "DISABLED_AND_OTHER")
	public String getDisabledAndOther(){
		 return this.disabledAndOther;
	}
	public void setDisabledAndOther(String disabledAndOther){
		this.disabledAndOther=disabledAndOther;
	}
	@Column(name = "ACCUMUL_PER_ADJUST")
	public String getAccumulPerAdjust(){
		 return this.accumulPerAdjust;
	}
	public void setAccumulPerAdjust(String accumulPerAdjust){
		this.accumulPerAdjust=accumulPerAdjust;
	}
	@Column(name = "NURSING_PER_ADJUST")
	public String getNursingPerAdjust(){
		 return this.nursingPerAdjust;
	}
	public void setNursingPerAdjust(String nursingPerAdjust){
		this.nursingPerAdjust=nursingPerAdjust;
	}
	@Column(name = "HEALTH_PER_ADJUST")
	public String getHealthPerAdjust(){
		 return this.healthPerAdjust;
	}
	public void setHealthPerAdjust(String healthPerAdjust){
		this.healthPerAdjust=healthPerAdjust;
	}
	@Column(name = "UNEMP_PER_ADJUST")
	public String getUnempPerAdjust(){
		 return this.unempPerAdjust;
	}
	public void setUnempPerAdjust(String unempPerAdjust){
		this.unempPerAdjust=unempPerAdjust;
	}
	@Column(name = "IS_DELETE")
	public String getIsDelete(){
		 return this.isDelete;
	}
	public void setIsDelete(String isDelete){
		this.isDelete=isDelete;
	}
	@Version
	@Column(name = "VERSION")
	public Integer getVersion(){
		 return this.version;
	}
	public void setVersion(Integer version){
		this.version=version;
	}
	@Column(name = "CREATOR")
	public String getCreator(){
		 return this.creator;
	}
	public void setCreator(String creator){
		this.creator=creator;
	}
	@Column(name = "CREATE_TIME")
	public Date getCreateTime(){
		 return this.createTime;
	}
	public void setCreateTime(Date createTime){
		this.createTime=createTime;
	}
	@Column(name = "MODIFIER")
	public String getModifier(){
		 return this.modifier;
	}
	public void setModifier(String modifier){
		this.modifier=modifier;
	}
	@Column(name = "MODIFY_TIME")
	public Date getModifyTime(){
		 return this.modifyTime;
	}
	public void setModifyTime(Date modifyTime){
		this.modifyTime=modifyTime;
	}
	@Column(name = "REMARK")
	public String getRemark(){
		 return this.remark;
	}
	public void setRemark(String remark){
		this.remark=remark;
	}

	@Column(name = "DES_KEY" )
	public String getDesKey() {
		return desKey;
	}

	public void setDesKey(String desKey) {
		this.desKey = desKey;
	}
	

}
